/** 设备作业时长模块 **/

import http from "@/api";

// 获取运输设备出动详情表表头
export const getTransportEquipTableColumn = (params) => {
    return http.post(`/report/getDispatchVehicleHeader`, params); 
};

// 获取运输设备出动详情表列表内容
export const getTransportEquipTableList = (params) => {
    return http.post(`/report/getDispatchVehicleListForPage`, params); 
};

// 获取装载设备出动详情表表头
export const getLoadEquipTableColumn = (params) => {
    return http.post(`/report/getDispatchLoadVehicleHeader`, params); 
};

// 获取装载设备出动详情表列表内容
export const getLoadEquipTableList = (params) => {
    return http.post(`/report/getDispatchLoadVehicleListForPage`, params); 
};

// 获取辅助设备出动详情表表头
export const getAuxiliaryEquipTableColumn = (params) => {
    return http.post(`/report/getDispatchAuxVehicleHeader`, params); 
};

// 获取辅助设备出动详情表列表内容
export const getAuxiliaryEquipTableList = (params) => {
    return http.post(`/report/getDispatchAuxVehicleListForPage`, params); 
};

// 获取设备异常状态详情表表头
export const getEquipErrStateTableColumn = (params) => {
    return http.post(`/report/getStatusVehicleHeader`, params); 
};

// 获取设备异常状态详情表列表内容
export const getEquipErrStateTableList = (params) => {
    return http.post(`/report/getStatusVehicleListForPage`, params); 
};

// 获取设备工作时长表表头
export const getEquipWorkHourTableColumn = (params) => {
    return http.post(`/report/getVehicleWorkTimesHeader`, params); 
};

// 获取设备工作时长表列表内容
export const getEquipWorkHourTableList = (params) => {
    return http.post(`/report/getVehicleWorkTimesListForPage`, params); 
};